requestResult

inline suspend fun <T> HttpClient.requestResult(method: HttpMethod, urlString: String, noinline block: HttpRequestBuilder.() -> Unit = {}): Result<T>

Performs an HTTP request and returns the response body as Result.

This is the core primitive used by the verb-specific helpers.